import request from "@/utils/request";

// 图文上报记录
export const imageTextLog = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/imageTextLog",
    method: "POST",
    data,
  });
};
// 打卡记录 管理
export const signLogGuanli = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/signLogGuanli",
    method: "POST",
    data,
  });
};
// 打卡记录
export const signLog = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/signLog",
    method: "POST",
    data,
  });
};
//重点单位
export const schoolList = (data) => {
  // console.log(data);
  return request({
    url: "/admin.Gaindex/schoolList",
    method: "POST",
    data,
  });
};
// 获取派出所
export const police = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/police",
    method: "POST",
    data,
  });
};
// 修改密码
export const changePwd = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/changePwd",
    method: "POST",
    data,
  });
};
// 上传头像
export const center = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/center",
    method: "POST",
    data,
  });
};
// 菜单列表
export const searchAdminMenuPage = (data) => {
  // console.log(data);
  return request({
    url: "/admin.adminPower/searchAdminMenuPage",
    method: "POST",
    data,
  });
};
// 志愿者名单http://120.211.58.75:50003/admin.Gaindex/volunteer
export const volunteer = (data) => {
  // console.log(data);
  return request({
    url: "/admin.Gaindex/volunteer",
    method: "POST",
    data,
  });
};
